package com.xlh.support.experimentshare.dao;

import com.xlh.support.experimentshare.domain.ExperimentShareConfig;
import com.xlh.support.experimentshare.domain.example.ExperimentShareConfigExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExperimentShareConfigMapper {
    long countByExample(ExperimentShareConfigExample example);

    int deleteByExample(ExperimentShareConfigExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ExperimentShareConfig record);

    int insertSelective(ExperimentShareConfig record);

    List<ExperimentShareConfig> selectByExample(ExperimentShareConfigExample example);

    ExperimentShareConfig selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ExperimentShareConfig record, @Param("example") ExperimentShareConfigExample example);

    int updateByExample(@Param("record") ExperimentShareConfig record, @Param("example") ExperimentShareConfigExample example);

    int updateByPrimaryKeySelective(ExperimentShareConfig record);

    int updateByPrimaryKey(ExperimentShareConfig record);
}